package com.onadake.web.dao;

/**
 * Defines functionality of the request service.
 * This allows to send data to the target and receive response.
 * 
 * @author radek.hecl
 *
 */
public interface RequestService {

    /**
     * Makes the request.
     * 
     * @param target target of the request
     * @param data data for the request
     * @return response
     */
    public String request(String target, String data);
}
